package src;
public class Posicion {
	protected int x;
	protected int y;
	
	//contructor
	public Posicion(int X, int Y){
		x=X;
		y=Y;
	}
	
	//comandos
	
	public void setX(int X){
		x=X;
	}
	
	public void setY(int Y){
		y=Y;
	}
	
	//consultas
	
	public int getX(){
		return x;
	}
	
	public int getY(){
		return y;
	}
}

